package com.qfjy.homework.cgr;

public class FactoryPatternDemo {
    public static void main(String[] args) {
        Factory shapeFactory = new Factory();


        Games shape1 = shapeFactory.get("CSGO");


        shape1.play();


        Games shape3 = shapeFactory.get("LOL");


        shape3.play();


    }
}
